From 76810e110b9a90019de285b9f018b6ba356e5071 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 14 Sep 2015 09:38:08 -0400 Subject: [PATCH] gtk-builder-tool: Don't break GtkHBox and GtkVBox These classes have different defaults for ::expand than GtkBox, which is not reflected in the declared default, so we have to blacklist it. --- gtk/gtk-builder-tool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtk-builder-tool.c b/gtk/gtk-builder-tool.c index 7ad4733fea..b5bc8c6855 100644 --- a/gtk/gtk-builder-tool.c +++ b/gtk/gtk-builder-tool.c @@ -171,6 +171,8 @@ needs_explicit_setting (MyParserData *data, { "GtkWidget", "hexpand", 0 }, { "GtkWidget", "vexpand", 0 }, { "GtkContainer", "border-width", 0 }, + { "GtkVBox", "expand", 1 }, + { "GtkHBox", "expand", 1 }, { NULL, NULL, 0 } }; gchar *canonical_name; -- 2.30.2